Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Handle value error when convert shmem to binary size #2972

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

fregataa
Copy link
Member

@fregataa fregataa commented Oct 24, 2024

BinarySize.from_str() raises ValueError when it gets an empty string value.
Add robust type hint and error handling when convert shmem into BinarySize

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version

@github-actions github-actions bot added the comp:manager Related to Manager component label Oct 24, 2024
Copy link
Member Author

fregataa commented Oct 24, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @fregataa and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added the size:S 10~30 LoC label Oct 24, 2024
@fregataa fregataa added this to the 24.03 milestone Oct 24, 2024
@fregataa fregataa marked this pull request as ready for review October 25, 2024 01:00
@fregataa fregataa added this pull request to the merge queue Oct 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 25, 2024
@fregataa fregataa added this pull request to the merge queue Oct 25, 2024
Merged via the queue into main with commit 7e507da Oct 25, 2024
21 checks passed
@fregataa fregataa deleted the fix_handle_wrong_value_of_shmem branch October 25, 2024 01:13
lablup-octodog pushed a commit that referenced this pull request Oct 25, 2024
Backported-from: main (24.12)
Backported-to: 24.09
Backport-of: 2972
lablup-octodog pushed a commit that referenced this pull request Oct 25, 2024
Backported-from: main (24.12)
Backported-to: 24.03
Backport-of: 2972
github-merge-queue bot pushed a commit that referenced this pull request Oct 25, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:manager Related to Manager component size:S 10~30 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant